﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Model;

namespace BLL
{
    public class ConTractInfoBLL
    {
        DBFactory dbFactory = new DBFactory();

        public List<FactoryEntity> GetFactoryList()
        {
            return dbFactory.FactoryFactory.ToList();
        }


        //条件查询（任务查询）
        public List<MixedTaskCenterEntity> GetContract(MixedTaskCenterEntity model, int CurrentPageIndex, int PageSize, out int totalCount, string _statusStr)
        {
            return ConTractInfoDAL.GetContract(model, CurrentPageIndex, PageSize, out totalCount , _statusStr);
        }
    }
}
